#include <stdio.h>
#include <string.h>

int main() {
    char string1[20] = "********************";
    char string2[] = "hello world!";
    strncpy(string1, string2, 12);
    printf("%s\n", string1);
    strncpy(string1, string2, 15);
    printf("%s\n", string1);
    return 0;
}